package com.baizhi.cmfz.service;

import com.baizhi.cmfz.entity.Guru;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import java.io.IOException;
import java.io.InputStream;
import java.util.Map;

public interface GuruService {

    public Map selectByPageGuru(int page,int limit,String name);

    public  Map insertGuru(Guru guru);

    public  Map updateState(Integer id,Integer status);
    public  Map updateGuru(Guru guru);
    public  Guru selectOneGuru(Integer id);
    public  Map deleteGuru(Integer id);

    public  Map insertCountGuru(InputStream inputStream) throws IOException;

    public HSSFWorkbook downloadCountGuru(int[] ids) throws IllegalAccessException;
}
